package com.zapi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * ZAPI管理系统启动类
 */

@MapperScan("com.zapi.**.mapper")
@EnableAsync
@SpringBootApplication(exclude = {
        org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class
})
public class ZapiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZapiApplication.class, args);
        System.out.println("ZAPI管理系统启动成功！");
        System.out.println("访问地址: http://localhost:8080/zapi-allin-sys");
        System.out.println("Swagger文档: http://localhost:8080/zapi-allin-sys/swagger-ui/");
    }
} 